<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>支付页-成功</title>
<%--    <link rel="icon" href="${pageContext.request.contextPath}/static/img/assets/img/favicon.ico">--%>


    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/webbase.css" />
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/static/css/pages-paysuccess.css" />
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/plugins/jquery/jquery.min.js"></script>
    <script>
        $(function () {
            var username = '${Username}';
            if(username === ''){
                $("#showUsername").html("请<a href=\"${pageContext.request.contextPath}/system/login\">登录</a>\n" +
                    "                            <span><a href=\"${pageContext.request.contextPath}/system/register\">免费注册</a></span>")
            }else{
                $("#showUsername").html(""+username+" <a href='${pageContext.request.contextPath}/login/logout'>退出登录</a>");
            }
        });
    </script>
</head>

<body>
<!--head-->
<div class="top">
    <div class="py-container">
        <div class="shortcut">
            <ul class="fl">
                <li class="f-item">划水商城欢迎您！</li>
                <li class="f-item" id="showUsername">

                </li>
            </ul>
            <ul class="fr">
                <li class="f-item"><a href="${pageContext.request.contextPath}/system/toHome?username=${Username}&currentPage=1" target="_blank">我的订单</a></li>
                <li class="f-item space"></li>
                <li class="f-item"><a href="${pageContext.request.contextPath}/system/toHome?username=${Username}&currentPage=1" target="_blank">个人中心</a></li>
                <li class="f-item space"></li>
                <li class="f-item">会   员</li>
                <li class="f-item space"></li>
                <li class="f-item">企业采购</li>
                <li class="f-item space"></li>
                <li class="f-item">一起划水</li>
                <li class="f-item space"></li>
                <li class="f-item">客户服务</li>
                <li class="f-item space"></li>
                <li class="f-item">网站导航</li>
            </ul>
        </div>
    </div>
</div>
<style>
    #logo{
        color: #000000;
        text-decoration: none;
    }
    #logo:link{
        color: #000000;
        text-decoration: none;
    }
    #logo:visited{
        color: #000000;
        text-decoration: none;
    }
    #logo:hover{
        color: #000000;
        text-decoration: none;
    }
</style>
<div class="cart py-container">
    <!--logoArea-->
    <div class="logoArea">
        <a id="logo" href="${pageContext.request.contextPath}/" class="fl logo" style="margin-top: 20px"><div class="title" style="margin-top: 10px">支付页</div></a>
    </div>
    <!--主内容-->
    <div class="paysuccess">
        <div class="success">
            <h3 style="margin-left: 70px"><img src="${pageContext.request.contextPath}/static/img/_/right.png" width="48" height="48">支付成功啦！</h3>
            <div class="paydetail">
                <p>支付方式：支付宝支付</p>
                <p>支付金额：￥${pageContext.request.getParameter("total_amount")}元</p>
                <p class="button"><a href="${pageContext.request.contextPath}/system/toHome?username=${Username}&currentPage=1" class="sui-btn btn-xlarge btn-danger">查看订单</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="index.html" class="sui-btn btn-xlarge ">继续购物</a></p>
            </div>
        </div>

    </div>
</div>
<!-- 底部栏位 -->
<!--页面底部-->
<%@include file="../system/Footer.jsp"%>
<!--页面底部END-->




<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/plugins/jquery.easing/jquery.easing.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/static/js/plugins/sui/sui.min.js"></script>
</body>

</html>